def create_X_Steel

    model = Sketchup.active_model
    prompts = ["长度","长翼缘","长腹板厚","长翼缘厚", "宽度","宽翼缘","宽腹板厚","宽翼缘厚","高度","钢牌号","构件型号","构件编号"]
    defaults = ["750","400","16","38","650","350","12","24","6000","Q355B","GKL1","AE-KL-1-1"]
    input = UI.inputbox(prompts, defaults, "创建X型钢")
    
    group = model.active_entities.add_group
    entities = group.entities
    l = input[0].to_f.mm
    lw = input[1].to_f.mm
    lfh = input[2].to_f.mm
    lyh = input[3].to_f.mm
    w = input[4].to_f.mm
    ww = input[5].to_f.mm
    wfh = input[6].to_f.mm
    wyh = input[7].to_f.mm
    z = input[8].to_f.mm
    
    points = []
    points << [0, (w-lw)/2, 0]
    points << [lyh, (w-lw)/2, 0]
    points << [lyh, (w-lfh)/2, 0]
    points << [(l-wfh)/2, (w-lfh)/2, 0]
    points << [(l-wfh)/2, wyh, 0]
    points << [(l-ww)/2, wyh, 0]
    points << [(l-ww)/2, 0, 0]
    points << [(l+ww)/2, 0, 0]
    points << [(l+ww)/2, wyh, 0]
    points << [(l+wfh)/2, wyh, 0]
    points << [(l+wfh)/2, (w-lfh)/2, 0]
    points << [l-lyh, (w-lfh)/2, 0]
    points << [l-lyh, (w-lw)/2, 0]
    points << [l, (w-lw)/2, 0]
    points << [l, (w+lw)/2, 0]
    points << [l-lyh, (w+lw)/2, 0]
    points << [l-lyh, (w+lfh)/2, 0]
    points << [(l+wfh)/2, (w+lfh)/2, 0]
    points << [(l+wfh)/2, w-wyh, 0]
    points << [(l+ww)/2, w-wyh, 0]
    points << [(l+ww)/2, w, 0]
    points << [(l-ww)/2, w, 0]
    points << [(l-ww)/2, w-wyh, 0]
    points << [(l-wfh)/2, w-wyh, 0]
    points << [(l-wfh)/2, (w+lfh)/2, 0]
    points << [lyh, (w+lfh)/2, 0]
    points << [lyh, (w+lw)/2, 0]
    points << [0, (w+lw)/2, 0]


    face = entities.add_face(points)
  

    face.pushpull(-z,true)
    
    end